<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://www.springframework.org/security/tags"
	prefix="security"%>
<LINK href="images/css.css" type="text/css" rel="stylesheet">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 12px
}

.STYLE3 {
	color: #707070;
	font-size: 12px;
}

.STYLE5 {
	color: #0a6e0c;
	font-size: 12px;
}

body {
	margin-top: 0px;
	margin-bottom: 0px;
}

.STYLE7 {
	font-size: 12
}
-->
</style>
<body>
<table class="tableline" cellspacing="1" cellpadding="0" width="100%"
	border="0">
	<html:form action="owner.do?method=save" method="post"
		onsubmit="return checkForm();">
		<tr>
			<td class="STYLE4" align="center" bgcolor="#ffffff" colspan="2"
				height="40">添加业主</td>
		</tr>
		<tr>
			<td width="217" height="26" align="right" bgcolor="#ffffff">业主姓名:</td>
			<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
				&nbsp;<html:text property="name" /> <font color="red">${ownerNameError
					}</font> <font color="red">${ownerNameRequest }</font></td>
		</tr>
		<tr>
			<td height="26" align="right" bgcolor="#ffffff">工作单位:</td>
			<td bgcolor="#ffffff"><label for="textfield2"></label> &nbsp;<html:text
					property="workUnit" /> <font color="red">${ownerWorkUnitError
					}</font></td>
		</tr>
		<tr>
			<td width="217" height="26" align="right" bgcolor="#ffffff">联系电话:</td>
			<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
				&nbsp;<html:text property="phone" /> <font color="red">${ownerPhoneError
					}</font></td>
		</tr>
		<tr>
			<td width="217" height="26" align="right" bgcolor="#ffffff">身份证号:</td>
			<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
				&nbsp;<html:text property="idCard" /> <font color="red">${ownerIdCardError
					}</font></td>
		</tr>
		
		<tr>
			<td width="217" height="26" align="right" bgcolor="#ffffff">家庭成员姓名:</td>
			<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
				&nbsp;<html:text property="fmName"></html:text>
				
				<font color="red">${ownerFamilyMemberError }</font></td>
		</tr>
		
		<tr>
			<td width="217" height="26" align="right" bgcolor="#ffffff">家庭成员联系电话:</td>
			<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
				&nbsp;<html:text property="fmPhone" />
				</td>
		</tr>
		
			<tr>
				<td width="217" height="26" align="right" bgcolor="#ffffff">家庭成员身份证:</td>
				<td width="773" bgcolor="#ffffff"><label for="textfield"></label>
					&nbsp;<html:text property="fmIdCard" />
					<html:submit value="增加业主" />
				</td>
		</tr>
		
	</html:form>
</table>
</body>
</html>